<?php

/**
 * Register BeObject::init method as __autoload() implementation.
 * @link http://be.php.net/manual/en/function.spl-autoload-register.php
 */
spl_autoload_register("BeObject::init");

/**
 * Creates an instance of a DateTimeParser with a timestamp set to time().
 * @return DateTimeParser The object to interact with.
 */
function Now() {
  $now = new DateTimeParser();
  $now->setTimestamp(time());

  return $now;
}

?>
